import React from 'react';
import { Link } from 'react-router-dom';
import FootBox from 'component/footer/footbox.jsx';
class Footer extends React.Component{
    constructor(props){
        super(props);
        this.state={Img:this.props.imgarr}
    }
    render(){
        return(
            <div className="weui-tabbar active">
            <FootBox name='首页' img={this.state.Img.home} />
            <FootBox name='加入我们' img={this.state.Img.join} />
            <FootBox name='我的' img={this.state.Img.user} />
          </div> 
        )
    }
}
export default Footer;